/**
 * 
 */



function win_openinit()
{
	document.getElementById('btnfind').onclick=btnc;
	win=win.open('http://www,naver.com','win','');
}
function winSubInit()
{
	tar=window.opener.document.frm;
	tar.address.value='우편번호를 검색하세요';
	var s=document.getElementById('sel');
	s.onchange=function()
	{
		var pos = s.selectedIndex;
		var zip = s[pos].value.split('-');
		var address = s[pos].text;
		
		tar.zip1.value=zip[0];
		tar.zip1.value=zip[1];
		tar.address.value=address;
	}
}